@CHARSET "UTF-8";

html,body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

body {
	background-image: url('/SummaryTask4//img/body_back.png');
}

a {
	text-decoration: none;
}

table,th,td {
	border-width: 2px;
	border-style: solid;
	border-collapse: collapse;
	border-color: rgb(0, 51, 102);
}

td {
	padding-left: 5px;
	padding-right: 5px;
}

select {
	min-width: 80px;
}

.input_medium {
	width: 200px;
}

.input_huge {
	height: 30px;
	font-size: large;
}

.button_medium {
	
}

.form_field {
	margin-bottom: 10px;
}

#errorMessage {
	color: red;
}

.button {
	background-color: rgb(43, 145, 175);
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: inline-block;
	padding-top: 5px;
	padding-right-value: 20px;
	padding-bottom: 5px;
	padding-left-value: 20px;
	text-align: center;
	text-decoration: none;
}

/*========================================================
	Recommendations block
========================================================*/
#recommendation {
	display: block;
	margin: 20px;
	width: auto;
	height: 40px;
	background-color: gray;
}

.recommended_item {
	width: 200px;
	float: left;
	margin: 10px;
	background-color: aqua;
}
/*========================================================
	Login page
========================================================*/
#login_form {
	background-color: white;
	text-align: left;
	margin: 10px;
}

.small_error_message {
	color: red;
	font-size: x-small;
}

#login_submit_button {
	float: right;
}
/*========================================================
	Main components
========================================================*/
#main_container {
	width: 800px;
	min-height: 100%;
	margin: 0 auto;
	text-align: center;
	background-color: rgb(255, 255, 255);
	box-shadow: 0px 0px 15px 2px gray;
	background-color: rgb(255, 255, 255);
}

#content {
	display: inline-block;
	margin: 0 auto;
	margin-top: 25px;
	text-align: left;
}

#footer {
	height: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	margin-top: -20px;
	text-align: center;
	background-color: rgb(0, 51, 102);
	color: white;
}

.header {
	padding-top: 7px;
	min-height: 28px;
	background-color: rgb(0, 51, 102);
	color: white;
}

.header ul {
	margin: 0;
	padding: 0;
	list-style: none outside none;
}

.header ul li {
	float: left;
}

.header a {
	margin: 0;
	padding: 9px 8px;
	vertical-align: bottom;
	color: white;
	color: white;
	font-size: 13px;
}

.header a:HOVER {
	background-color: #CCFFFF;
	color: rgb(0, 51, 102);
}

#left_header {
	float: left;
}

#right_header {
	float: right;
}

#free_space {
	height: 20px; /* should be the same as footer's */
}

#form_container {
	margin: 0 auto;
	margin-top: 100px;
	padding: 10px;
	min-width: 250px;
	display: inline-block;
	border: solid 3px rgb(0, 51, 102);
	border-radius: 7px 7px 7px 7px;
}

/*========================================================
	Category menu
========================================================*/
#cat_menu {
	background-color: rgb(255, 238, 115);
}

.menu_item a {
	color: rgb(166, 145, 0);
}

.menu_item a:HOVER {
	background-color: rgb(166, 145, 0);
	color: rgb(255, 238, 115);
}

.current_menu_item a {
	background-color: rgb(166, 145, 0);
	color: rgb(255, 238, 115);
}

.current_menu_item a:HOVER {
	background-color: rgb(166, 145, 0);
	color: rgb(255, 238, 115);
}

/*========================================================
	Item list
========================================================*/
.out_of_stock {
	color: gray;
	font-size: small;
}

/*========================================================
	View item
========================================================*/
#container_form_by_item {
	display: inline-block;
	height: 70px;
	float: right;
	height: 70px;
}

#out_of_stock_message {
	float: right;
}

.form_input {
	width: 40px;
}

#item_price {
	height: 30px;
	display: inline-block;
	margin-right: 10px;
	margin-top: 10px;
	float: right;
	padding-left: 5px;
	padding-right: 5px;
	float: right;
}

#item_name {
	margin-top: 10px;
	height: 30px;
	display: inline-block;
	font-weight: bold;
}

#item_description {
	display: inline-block;
	width: 100%;
	min-height: 400px;
}

/*========================================================
	Pop up
========================================================*/
.button.bClose {
	border-radius: 7px 7px 7px 7px;
	box-shadow: none;
	font: bold 131% sans-serif;
	padding: 0px 6px 2px;
	position: absolute;
	right: -7px;
	top: -7px;
}

.modal_window {
	background-color: #fff;
	border-radius: 15px;
	color: #000;
	display: none;
	padding: 20px;
	min-width: 400px;
	min-height: 180px;
}